﻿using MaterialSkin;
using MaterialSkin.Controls;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
using TomatoClock.Models;
using TomatoClock.Services;

namespace TomatoClock.Views
{

    public partial class Start : Form
    {
        private DataService dataService;
        private readonly MaterialSkinManager materialSkinManager;
        public Start(DataService dataService)
        {
            InitializeComponent();
            this.dataService = dataService;
            /* materialSkinManager = MaterialSkinManager.Instance;
             materialSkinManager.EnforceBackcolorOnAllComponents = true;
             materialSkinManager.AddFormToManage(this);
             materialSkinManager.Theme = MaterialSkinManager.Themes.LIGHT;
             materialSkinManager.ColorScheme = new ColorScheme(
                        Primary.Cyan700,
                        Primary.Cyan900,
                        Primary.Cyan500,
                        Accent.DeepOrange200,
                        TextShade.WHITE);*/
        }

        private void label1_Click(object sender, EventArgs e)
        {

        }
        private void Start_Load(object sender, EventArgs e)
        {

        }

        private void button4_Click(object sender, EventArgs e)
        {
            Login login = new Login(dataService);
            this.Hide();
            login.ShowDialog();
        }

        private void button1_Click(object sender, EventArgs e)
        {
            Enroll enroll = new Enroll(dataService);
            this.Hide();
            enroll.ShowDialog();
        }
    }
}
